/*
 * Copyright (c) 2017. 深圳一七网络科技. All rights reserved.
 */

package com.fenxiangle.yueding.feature.home.dependencies.home;



import com.fenxiangle.yueding.feature.home.contract.HomeContract;
import com.fenxiangle.yueding.feature.home.presenter.HomePresenter;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2017/4/11 9:27
 */
@Module
public class HomePresenterModule {
    private final HomeContract.View mView;

    public HomePresenterModule(HomeContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public HomeContract.Presenter provideHomePresenter(){
        return  new HomePresenter(mView);
    }

}
